import {
	request
} from '../../request.js'
const particulars = {
	// queryDetails(params) {
	// 	return request({
	// 		method: 'Get',
	// 		url: '/api/order/front/order/agent/frontAgentOrderDetils/'+ params,
			
	// 	})
	// },
	queryDetails(params) {
		return request({
			method: 'Get',
			url: '/api/goods/front/goods/'+ params,
			
		})
	},
	actqueryDetails(data) {
		return request({
			method: 'Get',
			url: '/api/goods/front/goods/'+ data.id+'/'+data.actId,
			
		})
	},
	queryDict(params) {
		return request({
			method: 'Get',
			url: '/api/cms/dict',
			params:params
		})
	},
	place(params){
		return request({
			method: 'Post',
			url: '/api/order/front/order/agent/place',
			params:params
		})
	},
	// 搜索代理商
	searchagent(params) {
		return request({
			method: 'Get',
			url: '/api/agent/agent/commn/tree/app/agent',
			params:params
		})
	},
	bindSearch(mobile) {
		return request({
			method: 'Get',
			url: '/api/agent/delivery/common/app/'+mobile
		})
	},
	cityArea() {
		return request({
			method: 'Get',
			url: '/api/cms/cityArea/comm/form'
		})
	},
	// 代理商区域分布统计
	getPersonList(params) {
	  return request({
	    method: 'Get',
	    url: '/api/agent/agent/commn/tree/leader',
	    params: params
	  })
	}
}
export default particulars;
